package com.cooper.dao.log;

import net.paoding.rose.jade.annotation.DAO;
import net.paoding.rose.jade.annotation.ReturnGeneratedKeys;
import net.paoding.rose.jade.annotation.SQL;

import com.cooper.entity.LogUserLogin;

@DAO
public interface UserLoginDAO {
	
	@ReturnGeneratedKeys
	@SQL("insert into log_user_login(gmt_modified,login_type,user_id,user_name,user_nick,client_ip,gmt_login,gmt_logout,session_id)"
			+ " values(:1.gmtModified,:1.loginType,:1.userId,:1.userName,:1.userNick,:1.clientIp,:1.gmtLogin,:1.gmtLogout,:1.sessionId) ")
	Long addUserLogin(LogUserLogin log);
	
}
